<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="common/include :: header('部门查看')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-serviceItem-edit" th:object="${department}">
        <input  name="id" type="hidden" th:field="*{id}"/>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">部门名称：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="name"  th:field="*{name}" required readonly=“readonly”>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">部门简称：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="sn"  th:field="*{sn}" required readonly=“readonly”>
            </div>
        </div>
    </form>
</div>
<th:block th:include="common/include :: footer" />
<script type="text/javascript">
    var prefix = ctx + "/business/employee";
    $("#form-serviceItem-edit").validate({
        focusCleanup: true
    });


/*
    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/edit", $('#form-serviceItem-edit').serialize());
        }
    }*/
</script>
</body>
</html>
